﻿using ReflectionStudio.Core.Events;
using System;
using System.Collections.Generic;
using System.Data;
using WPFExcelReport.Helpers;
namespace WPFExcelReport
{
    public partial class VABAUFM
    {


        public void Insert(DataRow _dwMU)
        {
            try
            {

                InsertABAUFM(_dwMU, app.company);
                TBMain.Rows.InsertAt(_dwMU, 0);
            }
            catch (Exception ex)
            {
                Tracer.Error(ex.StackTrace, ex);
            }
        }

        public DataSet LOAD(Dictionary<string, object> pm)
        {
            dwData = TBMain.NewRow();
            dwData["ABAMANDANT"] = app.Mandant;
            dwData["ABAAUFKRS"] = (string)pm["KRS"];
            dwData["ABAAUFLFD"] = (string)pm["LFD"];
            dwData["ABAAUFPOS"] = (string)pm["POS"];
            SResult = QMU16(dwData);
            MergeData(SResult, true);
            return SResult;
        }

        public DataSet ABLOAD(Dictionary<string, object> pm)
        {
            TBMain.Clear();
            if (((string)pm["ORDERNUM"]).Length < 11)
                return null;
            dwData = TBMain.NewRow();
            dwData["ABAMANDANT"] = app.Mandant;
            dwData["ABAAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
            dwData["ABAAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
            dwData["ABAAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
            SResult = QMU05(dwData);
            MergeData(SResult, true);
            return SResult;
        }

        public DataSet LOADBYVKAUF(Dictionary<string, object> pm)
        {
            //pm["POSTYP"]本控件应用到那种类型的单 
            if (((string)pm["VKAUF"]).Length < 13)
                return null;
            TBMain.Clear();
            dwData = TBMain.NewRow();
            dwData["ABAMANDANT"] = app.Mandant;
            dwData["ABAVKAUFTYP"] = ((string)pm["VKAUF"]).Substring(0, 1);
            dwData["ABAVKAUFKRS"] = ((string)pm["VKAUF"]).Substring(1, 2);
            dwData["ABAVKAUFLFD"] = ((string)pm["VKAUF"]).Substring(3, 6);
            dwData["ABAVKAUFPOS"] = ((string)pm["VKAUF"]).Substring(9, 3);
            SResult = QMU14(dwData);
            MergeData(SResult, true);
            return SResult;
        }


        public void MUNEW(Dictionary<string, object> pm)
        {
            DataRow dwMU;
            #region======0001====
            ABALEAPOS = 2;
            double qty = Convert.ToDouble(pm["QTYEND"].ToString());
            string ABAAUFTYP = "V";
            if (pm.ContainsKey("ABAAUFTYP"))
            {
                ABAAUFTYP = pm["ABAAUFTYP"].ToString();
            }
            if (pm.ContainsKey("IsMUClear"))
            {
                if ((bool)pm["IsMUClear"])
                {
                    dwData = TBMain.NewRow();
                    SetUpNewRow(ref dwData, null);
                    dwData["ABAAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
                    dwData["ABAAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
                    dwData["ABAAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);

                    DMU03(dwData);
                }
            }
            dwData = TBMain.NewRow();
            SetUpNewRow(ref dwData, null);
            dwData["ABAAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
            dwData["ABAAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
            dwData["ABAAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
            dwData["ABAAPOS"] = "0001";
            SResult = QMULEAPOS(dwData);
            if (SResult.Tables[0].Rows.Count == 0)
            {
                dwMU = TBMain.NewRow();
                SetUpNewRow(ref dwMU, null);
                dwMU["ABAAUFTYP"] = ABAAUFTYP;
                dwMU["ABAAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
                dwMU["ABAAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
                dwMU["ABAAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
                dwMU["ABAAPOS"] = "0001";
                dwMU["ABALEAPOS"] = "2";
                dwMU["ABAVAKZ"] = " ";
                dwMU["ABALIEFKOMP"] = " ";
                dwMU["ABAASSCHNIT"] = "N"; 
                switch ((string)pm["WAKZ"])
                {
                    case "F":
                        dwMU["ABAVAKZ"] = "J";
                        dwMU["ABASGESGEW"] = 0;
                        dwMU["ABASGESLG"] = qty * 1000;
                        dwMU["ABASME"] = 2;
                        break;
                    case "R":
                    case "W":
                        dwMU["ABARSTSGEW"] = 0;
                        dwMU["ABASGESGEW"] = qty * 1000;
                        dwMU["ABASME"] = 1;
                        break;
                    case "G":
                        dwMU["ABARSTSGEW"] = 0;
                        dwMU["ABASGESGEW"] = qty * 1000;
                        dwMU["ABASME"] = 5;
                        dwMU["ABAAUFMSL"] = Helper.Left(((string)pm["SMU"]).PadRight(2), 2);
                        dwMU["ABAPACKTYP"] = Helper.Left(((string)pm["SPACK"]).PadRight(4), 4);
                        dwMU["ABAHUELSE"] = Helper.Left(((string)pm["HUELSE"]).PadRight(4), 4);
                        break;
                }
                DeleteABAUFM(dwMU, 1);
                Insert(dwMU);
            }
            else
            {
                foreach (DataRow row in SResult.Tables[0].Rows)
                {
                    ABALEAPOS = Convert.ToInt16(row["ABALEAPOS"].ToString());
                    ABALEAPOS++;
                    row["ABALEAPOS"] = ABALEAPOS;
                    UMU04(row);
                }
            }
            #endregion============

            #region======0002====
            if (((string)pm["VKAUF"]).Trim().Length == 0)
                return;
            dwMU = TBMain.NewRow();
            SetUpNewRow(ref dwMU, null);
            dwMU["ABAAUFTYP"] = ABAAUFTYP;
            dwMU["ABAAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
            dwMU["ABAAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
            dwMU["ABAAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
            dwMU["ABAAPOS"] = Helper.Right("0000" + ABALEAPOS, 4);
            dwMU["ABAVKAUFTYP"] = ((string)pm["VKAUF"]).Substring(13, 1);
            dwMU["ABAVKAUFKRS"] = ((string)pm["VKAUF"]).Substring(0, 2);
            dwMU["ABAVKAUFLFD"] = ((string)pm["VKAUF"]).Substring(2, 6);
            dwMU["ABAVKAUFPOS"] = ((string)pm["VKAUF"]).Substring(8, 3);
            dwMU["ABAVKUPOS"] = ((string)pm["VKAUF"]).Substring(11, 2);

            //dwData["ABAPRKUNDNR"] = ((string)pm["KUNDNR"]);
            dwMU["ABAPRAUFKRS"] = dwData["ABAVKAUFKRS"];
            dwMU["ABAPRAUFLFD"] = dwData["ABAVKAUFLFD"];
            dwMU["ABAPRAUFPOS"] = dwData["ABAVKAUFPOS"];


            dwMU["ABASGESLG"] = 0;
            dwMU["ABASGESGEW"] = 0;
            dwMU["ABARSTSLG"] = 0;
            dwMU["ABARSTSGEW"] = 0;
            dwMU["ABALIEFKOMP"] = "N";
            dwMU["ABAASSCHNIT"] = " ";
            double rolls = 1;
            switch ((string)pm["WAKZ"])
            {
                case "F":
                    dwMU["ABAVKUPOS"] = "01";
                    rolls = Math.Floor(Double.Parse(pm["ANZSTK"].ToString()) * 0.01);
                    if (rolls == 0)
                        rolls = 1;
                    dwMU["ABARESMG"] = qty * 1000;
                    dwMU["ABASANZSTK"] = rolls;
                    dwMU["ABASSTKLG"] = Helper.RoundX(qty / rolls, 1) * 1000;//布卷长度
                    dwMU["ABALEAPOS"] = 2;

                    dwMU["ABASSTKLGV"] = 100;
                    dwMU["ABASSTKLGB"] = 999000;
                    dwMU["ABASSTKGEW"] = 0;
                    dwMU["ABARBISDAT"] = 0;
                    dwMU["ABAVERSDAT"] = pm["DELDATE"].ToString();
                    dwMU["ABAWOBST"] = "I";
                    dwMU["ABASME"] = " ";
                    dwMU["ABAVAKZ"] = "J";
                    dwMU["ABALIEFKOMP"] = " ";
                    break;
                case "R":
                case "W":
                    rolls = Math.Floor(Double.Parse(pm["ANZSTK"].ToString()) * 0.01);
                    if (rolls == 0)
                        rolls = 1;
                    dwMU["ABARESMG"] = qty * 1000;
                    dwMU["ABASANZSTK"] = rolls;
                    dwMU["ABASSTKLG"] = Helper.RoundX(qty / rolls, 1) * 1000;//布卷长度
                    dwMU["ABASME"] = 1;
                    dwMU["ABASSTKGEW"] = 0;
                    dwMU["ABARBISDAT"] = 0;
                    dwMU["ABAVERSDAT"] = pm["DELDATE"].ToString();
                    dwMU["ABAWOBST"] = "I";
                    break;
                case "G":
                    dwMU["ABARBISDAT"] = pm["DELDATE"].ToString();
                    dwMU["ABASSTKGEW"] = pm["STKGEW"].ToString();
                    dwMU["ABASANZSTK"] = pm["ANZSTK"].ToString();
                    dwMU["ABARESMG"] = qty * 1000;
                    dwMU["ABASME"] = 5;
                    dwMU["ABAAUFMSL"] = Helper.Left(((string)pm["SMU"]).PadRight(2), 2);
                    dwMU["ABAPACKTYP"] = Helper.Left(((string)pm["SPACK"]).PadRight(4), 4);
                    dwMU["ABAHUELSE"] = Helper.Left(((string)pm["HUELSE"]).PadRight(4), 4);
                    dwMU["ABAVKART"] = Helper.Left(((string)pm["ART"]).PadRight(24), 24);
                    dwMU["ABAVKFARBE"] = Helper.Left(((string)pm["FARBE"]).PadRight(10), 10);
                    dwMU["ABAKDPARTIE"] = Helper.Left(((string)pm["KDPARTIE"]).PadRight(10), 10);
                    break;
            }
            DMU02(dwMU);
            CONDITION(dwMU, pm);
            Insert(dwMU);
            #endregion============
        }
        public void MUDI2PR(Dictionary<string, object> pm)
        {
            DataRow dwMU;
            double rolls = 1;
            #region======0001====
            ABALEAPOS = 2;
            double qty = Convert.ToDouble(pm["QTYEND"].ToString());
            rolls = Math.Floor(Double.Parse(pm["ANZSTK"].ToString()) * 0.01);
            string ABAAUFTYP = "V";
            if (pm.ContainsKey("ABAAUFTYP"))
            {
                ABAAUFTYP = pm["ABAAUFTYP"].ToString();
            }
            dwData = TBMain.NewRow();
            SetUpNewRow(ref dwData, null);
            dwData["ABAAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
            dwData["ABAAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
            dwData["ABAAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
            dwData["ABAAPOS"] = "0001";
            SResult = QMU01(dwData);
            if (SResult.Tables[0].Rows.Count == 0)
            {
                dwMU = TBMain.NewRow();
                SetUpNewRow(ref dwMU, null);
                dwMU["ABAAUFTYP"] = ABAAUFTYP;
                dwMU["ABAAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
                dwMU["ABAAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
                dwMU["ABAAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
                dwMU["ABAAPOS"] = "0001";
                dwMU["ABALEAPOS"] = "2";
                dwMU["ABAVAKZ"] = " ";
                dwMU["ABALIEFKOMP"] = " ";
                dwMU["ABAASSCHNIT"] = "N";
                dwMU["ABADIAUFKRS"] = ((string)pm["VKAUF"]).Substring(0, 2);
                dwMU["ABADIAUFLFD"] = ((string)pm["VKAUF"]).Substring(2, 6);
                dwMU["ABADIAUFPOS"] = ((string)pm["VKAUF"]).Substring(8, 3);

                switch ((string)pm["WAKZ"])
                {
                    case "F":
                        dwMU["ABAVAKZ"] = "J";
                        dwMU["ABASGESGEW"] = 0;
                        dwMU["ABASGESLG"] = qty * 1000;
                        dwMU["ABASME"] = 2;

                        break;
                    case "R":
                    case "W":
                        dwMU["ABARSTSGEW"] = 0;
                        dwMU["ABASGESGEW"] = qty * 1000;
                        dwMU["ABASME"] = 1;
                        dwMU["ABADILG"] = qty * 1000;
                        dwMU["ABADIGEW"] = rolls;
                        dwMU["ABADISTK"] = rolls;
                        dwMU["ABADISLG"] = qty * 1000;
                        dwMU["ABADISGEW"] = rolls;
                        break;
                    case "G":
                        dwMU["ABARSTSGEW"] = 0;
                        dwMU["ABASGESGEW"] = qty * 1000;
                        dwMU["ABASME"] = 5;
                        dwMU["ABAAUFMSL"] = Helper.Left(((string)pm["SMU"]).PadRight(2), 2);
                        dwMU["ABAPACKTYP"] = Helper.Left(((string)pm["SPACK"]).PadRight(4), 4);
                        dwMU["ABAHUELSE"] = Helper.Left(((string)pm["HUELSE"]).PadRight(4), 4);
                        break;
                }
                DeleteABAUFM(dwMU, 1);
                Insert(dwMU);
                dwData = VABP.TBMain.NewRow();
                dwData["ABPMANDANT"] = app.Mandant;
                dwData["ABPAUFKRS"] = ((string)pm["VKAUF"]).Substring(0, 2);
                dwData["ABPAUFLFD"] = ((string)pm["VKAUF"]).Substring(2, 6);
                dwData["ABPAUFPOS"] = ((string)pm["VKAUF"]).Substring(8, 3);
                dwData["ABPDILFM"] = qty * 100;
                dwData["ABPDIKG"] = 0;
                VABP.UABP20(dwData);
            }
            else
            {
                foreach (DataRow row in SResult.Tables[0].Rows)
                {
                    ABALEAPOS = Convert.ToInt16(row["ABALEAPOS"].ToString());
                    ABALEAPOS++;
                    row["ABALEAPOS"] = ABALEAPOS;
                    UMU04(row);
                }
            }


            #endregion============
            return;
            #region======0002====
            if (((string)pm["VKAUF"]).Trim().Length == 0)
                return;
            dwMU = TBMain.NewRow();
            SetUpNewRow(ref dwMU, null);
            dwMU["ABAAUFTYP"] = ABAAUFTYP;
            dwMU["ABAAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
            dwMU["ABAAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
            dwMU["ABAAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
            dwMU["ABAAPOS"] = Helper.Right("0000" + ABALEAPOS, 4);
            dwMU["ABAVKAUFTYP"] = ((string)pm["VKAUF"]).Substring(13, 1);
            dwMU["ABAVKAUFKRS"] = ((string)pm["VKAUF"]).Substring(0, 2);
            dwMU["ABAVKAUFLFD"] = ((string)pm["VKAUF"]).Substring(2, 6);
            dwMU["ABAVKAUFPOS"] = ((string)pm["VKAUF"]).Substring(8, 3);
            dwMU["ABAVKUPOS"] = ((string)pm["VKAUF"]).Substring(11, 2);

            //dwData["ABAPRKUNDNR"] = ((string)pm["KUNDNR"]);
            dwMU["ABAPRAUFKRS"] = dwData["ABAVKAUFKRS"];
            dwMU["ABAPRAUFLFD"] = dwData["ABAVKAUFLFD"];
            dwMU["ABAPRAUFPOS"] = dwData["ABAVKAUFPOS"];


            dwMU["ABASGESLG"] = 0;
            dwMU["ABASGESGEW"] = 0;
            dwMU["ABARSTSLG"] = 0;
            dwMU["ABARSTSGEW"] = 0;
            dwMU["ABALIEFKOMP"] = "N";
            dwMU["ABAASSCHNIT"] = " ";

            switch ((string)pm["WAKZ"])
            {
                case "F":
                    dwMU["ABAVKUPOS"] = "01";
                    rolls = Math.Floor(Double.Parse(pm["ANZSTK"].ToString()) * 0.01);
                    dwMU["ABARESMG"] = qty * 1000;
                    dwMU["ABASANZSTK"] = rolls;
                    dwMU["ABASSTKLG"] = Helper.RoundX(qty / rolls, 1) * 1000;//布卷长度
                    dwMU["ABALEAPOS"] = 2;

                    dwMU["ABASSTKLGV"] = 100;
                    dwMU["ABASSTKLGB"] = 999000;
                    dwMU["ABASSTKGEW"] = 0;
                    dwMU["ABARBISDAT"] = 0;
                    dwMU["ABAVERSDAT"] = pm["DELDATE"].ToString();
                    dwMU["ABAWOBST"] = "I";
                    dwMU["ABASME"] = " ";
                    dwMU["ABAVAKZ"] = "J";
                    dwMU["ABALIEFKOMP"] = " ";
                    break;
                case "R":
                case "W":
                    rolls = Math.Floor(Double.Parse(pm["ANZSTK"].ToString()) * 0.01);
                    dwMU["ABARESMG"] = qty * 1000;
                    dwMU["ABASANZSTK"] = rolls;
                    dwMU["ABASSTKLG"] = Helper.RoundX(qty / rolls, 1) * 1000;//布卷长度
                    dwMU["ABASME"] = 1;
                    dwMU["ABASSTKGEW"] = 0;
                    dwMU["ABARBISDAT"] = 0;
                    dwMU["ABAVERSDAT"] = pm["DELDATE"].ToString();
                    dwMU["ABAWOBST"] = "I";
                    break;
                case "G":
                    dwMU["ABARBISDAT"] = pm["DELDATE"].ToString();
                    dwMU["ABASSTKGEW"] = pm["STKGEW"].ToString();
                    dwMU["ABASANZSTK"] = pm["ANZSTK"].ToString();
                    dwMU["ABARESMG"] = qty * 1000;
                    dwMU["ABASME"] = 5;
                    dwMU["ABAAUFMSL"] = Helper.Left(((string)pm["SMU"]).PadRight(2), 2);
                    dwMU["ABAPACKTYP"] = Helper.Left(((string)pm["SPACK"]).PadRight(4), 4);
                    dwMU["ABAHUELSE"] = Helper.Left(((string)pm["HUELSE"]).PadRight(4), 4);
                    dwMU["ABAVKART"] = Helper.Left(((string)pm["ART"]).PadRight(24), 24);
                    dwMU["ABAVKFARBE"] = Helper.Left(((string)pm["FARBE"]).PadRight(10), 10);
                    dwMU["ABAKDPARTIE"] = Helper.Left(((string)pm["KDPARTIE"]).PadRight(10), 10);
                    break;
            }
            DeleteABAUFM(dwMU, 2);
            CONDITION(dwMU, pm);
            Insert(dwMU);
            #endregion============
        }

        public void MU2RETURNPROCESS(Dictionary<string, object> pm)
        {
            DataRow dwMU;
            double rolls = 1;
            #region======0001====
            ABALEAPOS = 2;
            double qty = Convert.ToDouble(pm["QTYEND"].ToString());
            rolls = Math.Floor(Double.Parse(pm["ANZSTK"].ToString()) * 0.01);
            string ABAAUFTYP = "V";
            if (pm.ContainsKey("ABAAUFTYP"))
            {
                ABAAUFTYP = pm["ABAAUFTYP"].ToString();
            }
            dwData = TBMain.NewRow();
            SetUpNewRow(ref dwData, null);
            dwData["ABAAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
            dwData["ABAAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
            dwData["ABAAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
            dwData["ABAAPOS"] = "0001";
            SResult = QMU01(dwData);
            if (SResult.Tables[0].Rows.Count == 0)
            {
                dwMU = TBMain.NewRow();
                SetUpNewRow(ref dwMU, null);
                dwMU["ABAAUFTYP"] = ABAAUFTYP;
                dwMU["ABAAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
                dwMU["ABAAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
                dwMU["ABAAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
                dwMU["ABAAPOS"] = "0001";
                dwMU["ABALEAPOS"] = "2";
                dwMU["ABAVAKZ"] = " ";
                dwMU["ABALIEFKOMP"] = " ";
                dwMU["ABAASSCHNIT"] = "N";

                switch ((string)pm["WAKZ"])
                {
                    case "F":
                        dwMU["ABAVAKZ"] = "J";
                        dwMU["ABASGESGEW"] = 0;
                        dwMU["ABASGESLG"] = qty * 1000;
                        dwMU["ABASME"] = 2;
                        break;
                    case "R":
                    case "W":
                        dwMU["ABARSTSGEW"] = 0;
                        dwMU["ABASGESGEW"] = qty * 1000;
                        dwMU["ABASME"] = 1;
                        dwMU["ABADILG"] = qty * 1000;
                        dwMU["ABADIGEW"] = rolls;
                        dwMU["ABADISTK"] = rolls;
                        dwMU["ABADISLG"] = qty * 1000;
                        dwMU["ABADISGEW"] = rolls;
                        break;
                    case "G":
                        dwMU["ABARSTSGEW"] = 0;
                        dwMU["ABASGESGEW"] = qty * 1000;
                        dwMU["ABASME"] = 5;
                        dwMU["ABAAUFMSL"] = Helper.Left(((string)pm["SMU"]).PadRight(2), 2);
                        dwMU["ABAPACKTYP"] = Helper.Left(((string)pm["SPACK"]).PadRight(4), 4);
                        dwMU["ABAHUELSE"] = Helper.Left(((string)pm["HUELSE"]).PadRight(4), 4);
                        break;
                }
                DeleteABAUFM(dwMU, 1);
                Insert(dwMU);
            }
            else
            {
                foreach (DataRow row in SResult.Tables[0].Rows)
                {
                    ABALEAPOS = Convert.ToInt16(row["ABALEAPOS"].ToString());
                    ABALEAPOS++;
                    row["ABALEAPOS"] = ABALEAPOS;
                    UMU04(row);
                }
            }
            #endregion============ 
        }
        public void REDUCEMUQTY(Dictionary<string, object> pm)
        {
            dwData = TBMain.NewRow();
            dwData["ABAMANDANT"] = app.Mandant;
            dwData["ABAAUFTYP"] = ((string)pm["ABAAUF"]).Substring(0, 1);
            dwData["ABAAUFKRS"] = ((string)pm["ABAAUF"]).Substring(1, 2);
            dwData["ABAAUFLFD"] = ((string)pm["ABAAUF"]).Substring(3, 6);
            dwData["ABAAUFPOS"] = ((string)pm["ABAAUF"]).Substring(9, 3);
            dwData["ABAAPOS"] = ((string)pm["ABAAUF"]).Substring(12, 4);
            dwData["ABARESMG"] = ((double)pm["ABARESMG"]);
            UMU05(dwData);
        }
        public virtual void CONDITION(DataRow dwMU, Dictionary<string, object> pm)
        {
            string vktype = ((string)pm["VKAUF"]).Substring(13, 1);
            string auftyp = ((string)pm["AUFTYP"]);
            switch ((string)pm["WAKZ"])
            {
                #region====YGR=====
                case "G":
                    switch (vktype)
                    {
                        #region=K========

                        case "K":
                            dwData = VVKP.TBMain.NewRow();
                            dwData["VKPMANDANT"] = app.Mandant;
                            dwData["VKPAUFKRS"] = ((string)pm["VKAUF"]).Substring(0, 2);
                            dwData["VKPAUFLFD"] = ((string)pm["VKAUF"]).Substring(2, 6);
                            dwData["VKPAUFPOS"] = ((string)pm["VKAUF"]).Substring(8, 3);
                            dwData["VKPEXAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
                            dwData["VKPEXAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
                            dwData["VKPEXAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
                            if (((string)pm["ORDERNUM"]).StartsWith("FB"))
                            {
                                dwData["VKPRESERV"] = 0;
                            }
                            else
                            {
                                dwData["VKPRESERV"] = System.Convert.ToDouble(pm["QTYEND"].ToString()) * 100;
                            }
                            VVKP.UVKP10(dwData);
                            dwData = GD.TBMain.NewRow();
                            dwData["GAMANDANT"] = app.Mandant;
                            dwData["GAAUFKRS"] = ((string)pm["VKAUF"]).Substring(0, 2);
                            dwData["GAAUFLFD"] = ((string)pm["VKAUF"]).Substring(2, 6);
                            dwData["GAAUFPOS"] = ((string)pm["VKAUF"]).Substring(8, 3);
                            dwData["GAPOS"] = ((string)pm["VKAUF"]).Substring(11, 2);
                            dwData["GAKG2"] = System.Convert.ToDouble(pm["QTYEND"].ToString()) * 100;
                            GD.UpdateGAAUF(dwData, 21);//满足目标
                            break;
                        #endregion
                        #region====V=====

                        case "V":
                            switch (auftyp.Trim())
                            {
                                #region====AB50=====
                                case "AB50":
                                    dwData = GD.TBMain.NewRow();
                                    dwData["GAMANDANT"] = app.Mandant;
                                    dwData["GAAUFKRS"] = ((string)pm["VKAUF"]).Substring(0, 2);
                                    dwData["GAAUFLFD"] = ((string)pm["VKAUF"]).Substring(2, 6);
                                    dwData["GAAUFPOS"] = ((string)pm["VKAUF"]).Substring(8, 3);
                                    dwData["GAPOS"] = ((string)pm["VKAUF"]).Substring(11, 2);
                                    dwData["GAKG2"] = System.Convert.ToDouble(pm["QTYEND"].ToString()) * 100;
                                    GD.UpdateGAAUF(dwData, 21);//满足目标
                                    dwData = GD.TBMain.NewRow();
                                    dwData["GAMANDANT"] = app.Mandant;
                                    dwData["GAAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
                                    dwData["GAAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
                                    dwData["GAAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
                                    dwData["GAPOS"] = "00";
                                    dwData["GAKG2"] = System.Convert.ToDouble(pm["QTYEND"].ToString()) * 100;
                                    GD.UpdateGAAUF(dwData, 21);//已经满足了目标
                                    break;
                                    #endregion
                            }
                            break;
                            #endregion
                    }
                    break;
                #endregion
                #region====SXN=====
                default:
                case "F":
                    switch (vktype)
                    {
                        #region=K========

                        case "K":
                            dwData = VVKP.TBMain.NewRow();
                            dwData["VKPMANDANT"] = app.Mandant;
                            dwData["VKPAUFKRS"] = ((string)pm["VKAUF"]).Substring(0, 2);
                            dwData["VKPAUFLFD"] = ((string)pm["VKAUF"]).Substring(2, 6);
                            dwData["VKPAUFPOS"] = ((string)pm["VKAUF"]).Substring(8, 3);
                            dwData["VKPEXAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
                            dwData["VKPEXAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
                            dwData["VKPEXAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
                            if (((string)pm["ORDERNUM"]).StartsWith("FB"))
                            {
                                dwData["VKPRESERV"] = 0;
                            }
                            else
                            {
                                dwData["VKPRESERV"] = System.Convert.ToDouble(pm["QTYEND"].ToString()) * 100;
                            }
                            VVKP.UVKP10(dwData);

                            dwData = WD.TBMain.NewRow();
                            dwData["WDMANDANT"] = app.Mandant;
                            dwData["WDTYP"] = "B";
                            dwData["WDSA"] = vktype;
                            dwData["WDAUFKRS"] = ((string)pm["VKAUF"]).Substring(0, 2);
                            dwData["WDAUFLFD"] = ((string)pm["VKAUF"]).Substring(2, 6);
                            dwData["WDAUFPOS"] = ((string)pm["VKAUF"]).Substring(8, 3);
                            dwData["WDUPOS"] = ((string)pm["VKAUF"]).Substring(11, 2);
                            dwData["WDRESERV"] = System.Convert.ToDouble(pm["QTYEND"].ToString()) * 100;
                            WD.UWD07(dwData);//满足目标
                            break;
                        #endregion
                        #region====V=====

                        case "V":
                            switch (auftyp.Trim())
                            {
                                #region====AB50=====
                                case "AB50":
                                    dwData = GD.TBMain.NewRow();
                                    dwData["GAMANDANT"] = app.Mandant;
                                    dwData["GAAUFKRS"] = ((string)pm["VKAUF"]).Substring(0, 2);
                                    dwData["GAAUFLFD"] = ((string)pm["VKAUF"]).Substring(2, 6);
                                    dwData["GAAUFPOS"] = ((string)pm["VKAUF"]).Substring(8, 3);
                                    dwData["GAPOS"] = ((string)pm["VKAUF"]).Substring(11, 2);
                                    dwData["GAKG2"] = System.Convert.ToDouble(pm["QTYEND"].ToString()) * 100;
                                    GD.UpdateGAAUF(dwData, 21);//满足目标
                                    dwData = GD.TBMain.NewRow();
                                    dwData["GAMANDANT"] = app.Mandant;
                                    dwData["GAAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
                                    dwData["GAAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
                                    dwData["GAAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
                                    dwData["GAPOS"] = "00";
                                    dwData["GAKG2"] = System.Convert.ToDouble(pm["QTYEND"].ToString()) * 100;
                                    GD.UpdateGAAUF(dwData, 21);//已经满足了目标
                                    break;
                                case "AB05":
                                    dwData = WD.TBMain.NewRow();
                                    dwData["WDMANDANT"] = app.Mandant;
                                    dwData["WDTYP"] = "B";
                                    dwData["WDSA"] = vktype;
                                    dwData["WDAUFKRS"] = ((string)pm["VKAUF"]).Substring(0, 2);
                                    dwData["WDAUFLFD"] = ((string)pm["VKAUF"]).Substring(2, 6);
                                    dwData["WDAUFPOS"] = ((string)pm["VKAUF"]).Substring(8, 3);
                                    dwData["WDUPOS"] = ((string)pm["VKAUF"]).Substring(11, 2);
                                    dwData["WDRESERV"] = System.Convert.ToDouble(pm["QTYEND"].ToString()) * 100;
                                    WD.UWD07(dwData);//满足目标
                                    dwData = WD.TBMain.NewRow();
                                    dwData["WDMANDANT"] = app.Mandant;
                                    dwData["WDTYP"] = "B";
                                    dwData["WDSA"] = vktype;
                                    dwData["WDAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
                                    dwData["WDAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
                                    dwData["WDAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
                                    dwData["WDUPOS"] = "00";
                                    dwData["WDRESERV"] = System.Convert.ToDouble(pm["QTYEND"].ToString()) * 100;
                                    WD.UWD07(dwData);//满足目标
                                    break;
                                    #endregion
                            }
                            break;
                            #endregion
                    }
                    break;
                    #endregion
            }
        }
    }
    public partial class VABAUFM
    {
        public string ABAAUFTYP { get { if (dwMaster == null) return ""; return dwMaster["ABAAUFTYP"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAAUFTYP"] = value; OnPropertyChanged("ABAAUFTYP", value); } } //lENGth 1
        public string ABAAUFKRS { get { if (dwMaster == null) return ""; return dwMaster["ABAAUFKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAAUFKRS"] = value; OnPropertyChanged("ABAAUFKRS", value); } } //lENGth 2
        public string ABAAUFLFD { get { if (dwMaster == null) return ""; return dwMaster["ABAAUFLFD"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAAUFLFD"] = value; OnPropertyChanged("ABAAUFLFD", value); } } //lENGth 6
        public string ABAAUFPOS { get { if (dwMaster == null) return ""; return dwMaster["ABAAUFPOS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAAUFPOS"] = value; OnPropertyChanged("ABAAUFPOS", value); } } //lENGth 3
        public string ABAAPOS { get { if (dwMaster == null) return ""; return dwMaster["ABAAPOS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAAPOS"] = value; OnPropertyChanged("ABAAPOS", value); } } //lENGth 4
        public double ABARESMG { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["ABARESMG"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABARESMG"] = value; OnPropertyChanged("ABARESMG", value); } } //lENGth 0

        #region======ColumnSchema==========
        /*
                public string ABAMANDANT { get { if (dwMaster == null) return ""; return dwMaster["ABAMANDANT"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAMANDANT"] = value; OnPropertyChanged("ABAMANDANT", value); } } //lENGth 2
                public string ABAERLKZ { get { if (dwMaster == null) return ""; return dwMaster["ABAERLKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAERLKZ"] = value; OnPropertyChanged("ABAERLKZ", value); } } //lENGth 1
                public double ABASANZSTK { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASANZSTK"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASANZSTK"] = value; OnPropertyChanged("ABASANZSTK", value); } } //lENGth 0
                public double ABASSTKLG { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASSTKLG"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASSTKLG"] = value; OnPropertyChanged("ABASSTKLG", value); } } //lENGth 0
                public double ABASSTKLGV { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASSTKLGV"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASSTKLGV"] = value; OnPropertyChanged("ABASSTKLGV", value); } } //lENGth 0
                public double ABASSTKLGB { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASSTKLGB"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASSTKLGB"] = value; OnPropertyChanged("ABASSTKLGB", value); } } //lENGth 0
                public double ABASSTKGEW { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASSTKGEW"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASSTKGEW"] = value; OnPropertyChanged("ABASSTKGEW", value); } } //lENGth 0
                public double ABASSTKGEWV { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASSTKGEWV"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASSTKGEWV"] = value; OnPropertyChanged("ABASSTKGEWV", value); } } //lENGth 0
                public double ABASSTKGEWB { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASSTKGEWB"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASSTKGEWB"] = value; OnPropertyChanged("ABASSTKGEWB", value); } } //lENGth 0
                public double ABASSTKBRT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASSTKBRT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASSTKBRT"] = value; OnPropertyChanged("ABASSTKBRT", value); } } //lENGth 0
                public double ABASSTKBRTV { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASSTKBRTV"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASSTKBRTV"] = value; OnPropertyChanged("ABASSTKBRTV", value); } } //lENGth 0
                public double ABASSTKBRTB { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASSTKBRTB"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASSTKBRTB"] = value; OnPropertyChanged("ABASSTKBRTB", value); } } //lENGth 0
                public double ABAIANZSTK { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAIANZSTK"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAIANZSTK"] = value; OnPropertyChanged("ABAIANZSTK", value); } } //lENGth 0
                public string ABAIZENSUR1 { get { if (dwMaster == null) return ""; return dwMaster["ABAIZENSUR1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAIZENSUR1"] = value; OnPropertyChanged("ABAIZENSUR1", value); } } //lENGth 1
                public string ABAIZENSURKZ1 { get { if (dwMaster == null) return ""; return dwMaster["ABAIZENSURKZ1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAIZENSURKZ1"] = value; OnPropertyChanged("ABAIZENSURKZ1", value); } } //lENGth 1
                public string ABAIZENSUR2 { get { if (dwMaster == null) return ""; return dwMaster["ABAIZENSUR2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAIZENSUR2"] = value; OnPropertyChanged("ABAIZENSUR2", value); } } //lENGth 1
                public string ABAIZENSURKZ2 { get { if (dwMaster == null) return ""; return dwMaster["ABAIZENSURKZ2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAIZENSURKZ2"] = value; OnPropertyChanged("ABAIZENSURKZ2", value); } } //lENGth 1
                public double ABAIGESLGZS1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAIGESLGZS1"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAIGESLGZS1"] = value; OnPropertyChanged("ABAIGESLGZS1", value); } } //lENGth 0
                public double ABAIGESLGZS2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAIGESLGZS2"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAIGESLGZS2"] = value; OnPropertyChanged("ABAIGESLGZS2", value); } } //lENGth 0
                public double ABASTDPOS { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASTDPOS"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASTDPOS"] = value; OnPropertyChanged("ABASTDPOS", value); } } //lENGth 0
                public string ABASFERTKZ { get { if (dwMaster == null) return ""; return dwMaster["ABASFERTKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABASFERTKZ"] = value; OnPropertyChanged("ABASFERTKZ", value); } } //lENGth 1
                public string ABAUEBKZ { get { if (dwMaster == null) return ""; return dwMaster["ABAUEBKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAUEBKZ"] = value; OnPropertyChanged("ABAUEBKZ", value); } } //lENGth 1
                public string ABAUMAILKZ { get { if (dwMaster == null) return ""; return dwMaster["ABAUMAILKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAUMAILKZ"] = value; OnPropertyChanged("ABAUMAILKZ", value); } } //lENGth 1
                public double ABASGESLG { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASGESLG"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASGESLG"] = value; OnPropertyChanged("ABASGESLG", value); } } //lENGth 0
                public double ABASGESGEW { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASGESGEW"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASGESGEW"] = value; OnPropertyChanged("ABASGESGEW", value); } } //lENGth 0
                public string ABASME { get { if (dwMaster == null) return ""; return dwMaster["ABASME"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABASME"] = value; OnPropertyChanged("ABASME", value); } } //lENGth 1
                public double ABAFRMG { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAFRMG"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAFRMG"] = value; OnPropertyChanged("ABAFRMG", value); } } //lENGth 0
                public double ABARSTSLG { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABARSTSLG"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABARSTSLG"] = value; OnPropertyChanged("ABARSTSLG", value); } } //lENGth 0
                public double ABARSTSGEW { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABARSTSGEW"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABARSTSGEW"] = value; OnPropertyChanged("ABARSTSGEW", value); } } //lENGth 0
                public double ABAMINUSLG { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAMINUSLG"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAMINUSLG"] = value; OnPropertyChanged("ABAMINUSLG", value); } } //lENGth 0
                public double ABAMINUSGEW { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAMINUSGEW"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAMINUSGEW"] = value; OnPropertyChanged("ABAMINUSGEW", value); } } //lENGth 0
                public double ABALEAPOS { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABALEAPOS"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABALEAPOS"] = value; OnPropertyChanged("ABALEAPOS", value); } } //lENGth 0
                public string ABAPOOL { get { if (dwMaster == null) return ""; return dwMaster["ABAPOOL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPOOL"] = value; OnPropertyChanged("ABAPOOL", value); } } //lENGth 1
                public string ABARESFLAG { get { if (dwMaster == null) return ""; return dwMaster["ABARESFLAG"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABARESFLAG"] = value; OnPropertyChanged("ABARESFLAG", value); } } //lENGth 1
                public string ABAVKAUFTYP { get { if (dwMaster == null) return ""; return dwMaster["ABAVKAUFTYP"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVKAUFTYP"] = value; OnPropertyChanged("ABAVKAUFTYP", value); } } //lENGth 1
                public string ABAVKAUFKRS { get { if (dwMaster == null) return ""; return dwMaster["ABAVKAUFKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVKAUFKRS"] = value; OnPropertyChanged("ABAVKAUFKRS", value); } } //lENGth 2
                public string ABAVKAUFLFD { get { if (dwMaster == null) return ""; return dwMaster["ABAVKAUFLFD"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVKAUFLFD"] = value; OnPropertyChanged("ABAVKAUFLFD", value); } } //lENGth 6
                public string ABAVKAUFPOS { get { if (dwMaster == null) return ""; return dwMaster["ABAVKAUFPOS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVKAUFPOS"] = value; OnPropertyChanged("ABAVKAUFPOS", value); } } //lENGth 3
                public string ABAVKUPOS { get { if (dwMaster == null) return ""; return dwMaster["ABAVKUPOS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVKUPOS"] = value; OnPropertyChanged("ABAVKUPOS", value); } } //lENGth 2
                public string ABAVB { get { if (dwMaster == null) return ""; return dwMaster["ABAVB"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVB"] = value; OnPropertyChanged("ABAVB", value); } } //lENGth 3
                public string ABAVG { get { if (dwMaster == null) return ""; return dwMaster["ABAVG"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVG"] = value; OnPropertyChanged("ABAVG", value); } } //lENGth 3
                public string ABAZUPRIO { get { if (dwMaster == null) return ""; return dwMaster["ABAZUPRIO"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAZUPRIO"] = value; OnPropertyChanged("ABAZUPRIO", value); } } //lENGth 1
                public string ABASTKNEUTR { get { if (dwMaster == null) return ""; return dwMaster["ABASTKNEUTR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABASTKNEUTR"] = value; OnPropertyChanged("ABASTKNEUTR", value); } } //lENGth 1
                public string ABARESPROG { get { if (dwMaster == null) return ""; return dwMaster["ABARESPROG"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABARESPROG"] = value; OnPropertyChanged("ABARESPROG", value); } } //lENGth 8
                public string ABARESBEN { get { if (dwMaster == null) return ""; return dwMaster["ABARESBEN"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABARESBEN"] = value; OnPropertyChanged("ABARESBEN", value); } } //lENGth 8
                public double ABARESDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABARESDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABARESDAT"] = value; OnPropertyChanged("ABARESDAT", value); } } //lENGth 0
                public double ABARESZEIT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABARESZEIT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABARESZEIT"] = value; OnPropertyChanged("ABARESZEIT", value); } } //lENGth 0
                public string ABARVSACHB { get { if (dwMaster == null) return ""; return dwMaster["ABARVSACHB"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABARVSACHB"] = value; OnPropertyChanged("ABARVSACHB", value); } } //lENGth 8
                public string ABARKUNDNR { get { if (dwMaster == null) return ""; return dwMaster["ABARKUNDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABARKUNDNR"] = value; OnPropertyChanged("ABARKUNDNR", value); } } //lENGth 8
                public double ABARBISDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABARBISDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABARBISDAT"] = value; OnPropertyChanged("ABARBISDAT", value); } } //lENGth 0
                public string ABAVLVB { get { if (dwMaster == null) return ""; return dwMaster["ABAVLVB"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVLVB"] = value; OnPropertyChanged("ABAVLVB", value); } } //lENGth 3
                public string ABAVLVG { get { if (dwMaster == null) return ""; return dwMaster["ABAVLVG"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVLVG"] = value; OnPropertyChanged("ABAVLVG", value); } } //lENGth 3
                public string ABAVLSACHB { get { if (dwMaster == null) return ""; return dwMaster["ABAVLSACHB"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVLSACHB"] = value; OnPropertyChanged("ABAVLSACHB", value); } } //lENGth 8
                public string ABAVLGEGEN { get { if (dwMaster == null) return ""; return dwMaster["ABAVLGEGEN"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVLGEGEN"] = value; OnPropertyChanged("ABAVLGEGEN", value); } } //lENGth 1
                public string ABAPRKUNDNR { get { if (dwMaster == null) return ""; return dwMaster["ABAPRKUNDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPRKUNDNR"] = value; OnPropertyChanged("ABAPRKUNDNR", value); } } //lENGth 8
                public string ABAPRAUFKRS { get { if (dwMaster == null) return ""; return dwMaster["ABAPRAUFKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPRAUFKRS"] = value; OnPropertyChanged("ABAPRAUFKRS", value); } } //lENGth 2
                public string ABAPRAUFLFD { get { if (dwMaster == null) return ""; return dwMaster["ABAPRAUFLFD"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPRAUFLFD"] = value; OnPropertyChanged("ABAPRAUFLFD", value); } } //lENGth 6
                public string ABAPRAUFPOS { get { if (dwMaster == null) return ""; return dwMaster["ABAPRAUFPOS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPRAUFPOS"] = value; OnPropertyChanged("ABAPRAUFPOS", value); } } //lENGth 3
                public string ABAGENEHM { get { if (dwMaster == null) return ""; return dwMaster["ABAGENEHM"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAGENEHM"] = value; OnPropertyChanged("ABAGENEHM", value); } } //lENGth 1
                public string ABAGSACHB { get { if (dwMaster == null) return ""; return dwMaster["ABAGSACHB"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAGSACHB"] = value; OnPropertyChanged("ABAGSACHB", value); } } //lENGth 8
                public string ABALIEFNR { get { if (dwMaster == null) return ""; return dwMaster["ABALIEFNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABALIEFNR"] = value; OnPropertyChanged("ABALIEFNR", value); } } //lENGth 8
                public string ABAVSACHB { get { if (dwMaster == null) return ""; return dwMaster["ABAVSACHB"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVSACHB"] = value; OnPropertyChanged("ABAVSACHB", value); } } //lENGth 8
                public string ABAVSTKNR { get { if (dwMaster == null) return ""; return dwMaster["ABAVSTKNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVSTKNR"] = value; OnPropertyChanged("ABAVSTKNR", value); } } //lENGth 12
                public string ABAVERSWEG { get { if (dwMaster == null) return ""; return dwMaster["ABAVERSWEG"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVERSWEG"] = value; OnPropertyChanged("ABAVERSWEG", value); } } //lENGth 2
                public double ABAMVERSDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAMVERSDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAMVERSDAT"] = value; OnPropertyChanged("ABAMVERSDAT", value); } } //lENGth 0
                public double ABAWVDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAWVDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAWVDAT"] = value; OnPropertyChanged("ABAWVDAT", value); } } //lENGth 0
                public double ABGENDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABGENDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABGENDAT"] = value; OnPropertyChanged("ABGENDAT", value); } } //lENGth 0
                public string ABAGENNR { get { if (dwMaster == null) return ""; return dwMaster["ABAGENNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAGENNR"] = value; OnPropertyChanged("ABAGENNR", value); } } //lENGth 12
                public string ABAGENNAME { get { if (dwMaster == null) return ""; return dwMaster["ABAGENNAME"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAGENNAME"] = value; OnPropertyChanged("ABAGENNAME", value); } } //lENGth 30
                public string ABAGENWEG { get { if (dwMaster == null) return ""; return dwMaster["ABAGENWEG"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAGENWEG"] = value; OnPropertyChanged("ABAGENWEG", value); } } //lENGth 2
                public double ABAZUSTK { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAZUSTK"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAZUSTK"] = value; OnPropertyChanged("ABAZUSTK", value); } } //lENGth 0
                public double ABAZULG { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAZULG"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAZULG"] = value; OnPropertyChanged("ABAZULG", value); } } //lENGth 0
                public string ABAOPTKZ { get { if (dwMaster == null) return ""; return dwMaster["ABAOPTKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAOPTKZ"] = value; OnPropertyChanged("ABAOPTKZ", value); } } //lENGth 1
                public double ABAMAFZST { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAMAFZST"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAMAFZST"] = value; OnPropertyChanged("ABAMAFZST", value); } } //lENGth 0
                public string ABAPART1 { get { if (dwMaster == null) return ""; return dwMaster["ABAPART1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPART1"] = value; OnPropertyChanged("ABAPART1", value); } } //lENGth 11
                public double ABAPARTST1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAPARTST1"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAPARTST1"] = value; OnPropertyChanged("ABAPARTST1", value); } } //lENGth 0
                public string ABAPART2 { get { if (dwMaster == null) return ""; return dwMaster["ABAPART2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPART2"] = value; OnPropertyChanged("ABAPART2", value); } } //lENGth 11
                public double ABAPARTST2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAPARTST2"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAPARTST2"] = value; OnPropertyChanged("ABAPARTST2", value); } } //lENGth 0
                public string ABAPART3 { get { if (dwMaster == null) return ""; return dwMaster["ABAPART3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPART3"] = value; OnPropertyChanged("ABAPART3", value); } } //lENGth 11
                public double ABAPARTST3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAPARTST3"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAPARTST3"] = value; OnPropertyChanged("ABAPARTST3", value); } } //lENGth 0
                public string ABAPART4 { get { if (dwMaster == null) return ""; return dwMaster["ABAPART4"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPART4"] = value; OnPropertyChanged("ABAPART4", value); } } //lENGth 11
                public double ABAPARTST4 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAPARTST4"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAPARTST4"] = value; OnPropertyChanged("ABAPARTST4", value); } } //lENGth 0
                public string ABAPART5 { get { if (dwMaster == null) return ""; return dwMaster["ABAPART5"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPART5"] = value; OnPropertyChanged("ABAPART5", value); } } //lENGth 11
                public double ABAPARTST5 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAPARTST5"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAPARTST5"] = value; OnPropertyChanged("ABAPARTST5", value); } } //lENGth 0
                public string ABAPART6 { get { if (dwMaster == null) return ""; return dwMaster["ABAPART6"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPART6"] = value; OnPropertyChanged("ABAPART6", value); } } //lENGth 11
                public double ABAPARTST6 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAPARTST6"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAPARTST6"] = value; OnPropertyChanged("ABAPARTST6", value); } } //lENGth 0
                public string ABAPART7 { get { if (dwMaster == null) return ""; return dwMaster["ABAPART7"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPART7"] = value; OnPropertyChanged("ABAPART7", value); } } //lENGth 11
                public double ABAPARTST7 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAPARTST7"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAPARTST7"] = value; OnPropertyChanged("ABAPARTST7", value); } } //lENGth 0
                public string ABAPART8 { get { if (dwMaster == null) return ""; return dwMaster["ABAPART8"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPART8"] = value; OnPropertyChanged("ABAPART8", value); } } //lENGth 11
                public double ABAPARTST8 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAPARTST8"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAPARTST8"] = value; OnPropertyChanged("ABAPARTST8", value); } } //lENGth 0
                public string ABAPART9 { get { if (dwMaster == null) return ""; return dwMaster["ABAPART9"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPART9"] = value; OnPropertyChanged("ABAPART9", value); } } //lENGth 11
                public double ABAPARTST9 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAPARTST9"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAPARTST9"] = value; OnPropertyChanged("ABAPARTST9", value); } } //lENGth 0
                public string ABAPART10 { get { if (dwMaster == null) return ""; return dwMaster["ABAPART10"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPART10"] = value; OnPropertyChanged("ABAPART10", value); } } //lENGth 11
                public double ABAPARTST10 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAPARTST10"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAPARTST10"] = value; OnPropertyChanged("ABAPARTST10", value); } } //lENGth 0
                public string ABASZENSUR { get { if (dwMaster == null) return ""; return dwMaster["ABASZENSUR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABASZENSUR"] = value; OnPropertyChanged("ABASZENSUR", value); } } //lENGth 1
                public string ABASZENSURKZ { get { if (dwMaster == null) return ""; return dwMaster["ABASZENSURKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABASZENSURKZ"] = value; OnPropertyChanged("ABASZENSURKZ", value); } } //lENGth 1
                public double ABAKUTLSTK { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAKUTLSTK"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAKUTLSTK"] = value; OnPropertyChanged("ABAKUTLSTK", value); } } //lENGth 0
                public string ABABAHNKZ { get { if (dwMaster == null) return ""; return dwMaster["ABABAHNKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABABAHNKZ"] = value; OnPropertyChanged("ABABAHNKZ", value); } } //lENGth 1
                public double ABAWDUPOS { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAWDUPOS"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAWDUPOS"] = value; OnPropertyChanged("ABAWDUPOS", value); } } //lENGth 0
                public double ABABAHNEN { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABABAHNEN"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABABAHNEN"] = value; OnPropertyChanged("ABABAHNEN", value); } } //lENGth 0
                public string ABATEILKZ { get { if (dwMaster == null) return ""; return dwMaster["ABATEILKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABATEILKZ"] = value; OnPropertyChanged("ABATEILKZ", value); } } //lENGth 1
                public string ABAKUNDNRU { get { if (dwMaster == null) return ""; return dwMaster["ABAKUNDNRU"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAKUNDNRU"] = value; OnPropertyChanged("ABAKUNDNRU", value); } } //lENGth 8
                public string ABAWERKU { get { if (dwMaster == null) return ""; return dwMaster["ABAWERKU"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAWERKU"] = value; OnPropertyChanged("ABAWERKU", value); } } //lENGth 3
                public string ABAABTU { get { if (dwMaster == null) return ""; return dwMaster["ABAABTU"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAABTU"] = value; OnPropertyChanged("ABAABTU", value); } } //lENGth 3
                public string ABAARTU { get { if (dwMaster == null) return ""; return dwMaster["ABAARTU"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAARTU"] = value; OnPropertyChanged("ABAARTU", value); } } //lENGth 20
                public string ABAVARU { get { if (dwMaster == null) return ""; return dwMaster["ABAVARU"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVARU"] = value; OnPropertyChanged("ABAVARU", value); } } //lENGth 3
                public string ABADESSU { get { if (dwMaster == null) return ""; return dwMaster["ABADESSU"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABADESSU"] = value; OnPropertyChanged("ABADESSU", value); } } //lENGth 10
                public string ABACOLORITU { get { if (dwMaster == null) return ""; return dwMaster["ABACOLORITU"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABACOLORITU"] = value; OnPropertyChanged("ABACOLORITU", value); } } //lENGth 10
                public string ABAFARBEU { get { if (dwMaster == null) return ""; return dwMaster["ABAFARBEU"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAFARBEU"] = value; OnPropertyChanged("ABAFARBEU", value); } } //lENGth 10
                public string ABABESCHU { get { if (dwMaster == null) return ""; return dwMaster["ABABESCHU"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABABESCHU"] = value; OnPropertyChanged("ABABESCHU", value); } } //lENGth 10
                public string ABAFARBBEZU { get { if (dwMaster == null) return ""; return dwMaster["ABAFARBBEZU"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAFARBBEZU"] = value; OnPropertyChanged("ABAFARBBEZU", value); } } //lENGth 20
                public double ABAANZ1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAANZ1"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAANZ1"] = value; OnPropertyChanged("ABAANZ1", value); } } //lENGth 0
                public double ABALAENGE1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABALAENGE1"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABALAENGE1"] = value; OnPropertyChanged("ABALAENGE1", value); } } //lENGth 0
                public double ABABREITE1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABABREITE1"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABABREITE1"] = value; OnPropertyChanged("ABABREITE1", value); } } //lENGth 0
                public double ABAANZ2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAANZ2"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAANZ2"] = value; OnPropertyChanged("ABAANZ2", value); } } //lENGth 0
                public double ABALAENGE2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABALAENGE2"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABALAENGE2"] = value; OnPropertyChanged("ABALAENGE2", value); } } //lENGth 0
                public double ABABREITE2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABABREITE2"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABABREITE2"] = value; OnPropertyChanged("ABABREITE2", value); } } //lENGth 0
                public double ABAANZ3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAANZ3"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAANZ3"] = value; OnPropertyChanged("ABAANZ3", value); } } //lENGth 0
                public double ABALAENGE3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABALAENGE3"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABALAENGE3"] = value; OnPropertyChanged("ABALAENGE3", value); } } //lENGth 0
                public double ABABREITE3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABABREITE3"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABABREITE3"] = value; OnPropertyChanged("ABABREITE3", value); } } //lENGth 0
                public double ABAANZ4 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAANZ4"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAANZ4"] = value; OnPropertyChanged("ABAANZ4", value); } } //lENGth 0
                public double ABALAENGE4 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABALAENGE4"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABALAENGE4"] = value; OnPropertyChanged("ABALAENGE4", value); } } //lENGth 0
                public double ABABREITE4 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABABREITE4"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABABREITE4"] = value; OnPropertyChanged("ABABREITE4", value); } } //lENGth 0
                public double ABAANZ5 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAANZ5"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAANZ5"] = value; OnPropertyChanged("ABAANZ5", value); } } //lENGth 0
                public double ABALAENGE5 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABALAENGE5"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABALAENGE5"] = value; OnPropertyChanged("ABALAENGE5", value); } } //lENGth 0
                public double ABABREITE5 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABABREITE5"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABABREITE5"] = value; OnPropertyChanged("ABABREITE5", value); } } //lENGth 0
                public double ABAVERSDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAVERSDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAVERSDAT"] = value; OnPropertyChanged("ABAVERSDAT", value); } } //lENGth 0
                public string ABAVATYP { get { if (dwMaster == null) return ""; return dwMaster["ABAVATYP"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVATYP"] = value; OnPropertyChanged("ABAVATYP", value); } } //lENGth 2
                public double ABAANZORG { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAANZORG"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAANZORG"] = value; OnPropertyChanged("ABAANZORG", value); } } //lENGth 0
                public double ABAANZKOP { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAANZKOP"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAANZKOP"] = value; OnPropertyChanged("ABAANZKOP", value); } } //lENGth 0
                public string ABAVERSART { get { if (dwMaster == null) return ""; return dwMaster["ABAVERSART"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVERSART"] = value; OnPropertyChanged("ABAVERSART", value); } } //lENGth 3
                public string ABASPED { get { if (dwMaster == null) return ""; return dwMaster["ABASPED"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABASPED"] = value; OnPropertyChanged("ABASPED", value); } } //lENGth 3
                public string ABALIEFKD { get { if (dwMaster == null) return ""; return dwMaster["ABALIEFKD"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABALIEFKD"] = value; OnPropertyChanged("ABALIEFKD", value); } } //lENGth 8
                public string ABAVERSKD { get { if (dwMaster == null) return ""; return dwMaster["ABAVERSKD"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVERSKD"] = value; OnPropertyChanged("ABAVERSKD", value); } } //lENGth 8
                public string ABAADRSLL { get { if (dwMaster == null) return ""; return dwMaster["ABAADRSLL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAADRSLL"] = value; OnPropertyChanged("ABAADRSLL", value); } } //lENGth 8
                public string ABAVAKZ { get { if (dwMaster == null) return ""; return dwMaster["ABAVAKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVAKZ"] = value; OnPropertyChanged("ABAVAKZ", value); } } //lENGth 1
                public string ABALIEFKOMP { get { if (dwMaster == null) return ""; return dwMaster["ABALIEFKOMP"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABALIEFKOMP"] = value; OnPropertyChanged("ABALIEFKOMP", value); } } //lENGth 1
                public double ABATEILNR { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABATEILNR"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABATEILNR"] = value; OnPropertyChanged("ABATEILNR", value); } } //lENGth 0
                public string ABAVDPKZ { get { if (dwMaster == null) return ""; return dwMaster["ABAVDPKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVDPKZ"] = value; OnPropertyChanged("ABAVDPKZ", value); } } //lENGth 1
                public string ABATPMA { get { if (dwMaster == null) return ""; return dwMaster["ABATPMA"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABATPMA"] = value; OnPropertyChanged("ABATPMA", value); } } //lENGth 4
                public double ABABOXMAX { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABABOXMAX"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABABOXMAX"] = value; OnPropertyChanged("ABABOXMAX", value); } } //lENGth 0
                public double ABABOXANZ { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABABOXANZ"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABABOXANZ"] = value; OnPropertyChanged("ABABOXANZ", value); } } //lENGth 0
                public string ABALGEBNR { get { if (dwMaster == null) return ""; return dwMaster["ABALGEBNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABALGEBNR"] = value; OnPropertyChanged("ABALGEBNR", value); } } //lENGth 8
                public string ABANKGEB { get { if (dwMaster == null) return ""; return dwMaster["ABANKGEB"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABANKGEB"] = value; OnPropertyChanged("ABANKGEB", value); } } //lENGth 2
                public double ABAIFEUCHTE { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAIFEUCHTE"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAIFEUCHTE"] = value; OnPropertyChanged("ABAIFEUCHTE", value); } } //lENGth 0
                public string ABAKUNDNR { get { if (dwMaster == null) return ""; return dwMaster["ABAKUNDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAKUNDNR"] = value; OnPropertyChanged("ABAKUNDNR", value); } } //lENGth 8
                public string ABASTKNR { get { if (dwMaster == null) return ""; return dwMaster["ABASTKNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABASTKNR"] = value; OnPropertyChanged("ABASTKNR", value); } } //lENGth 12
                public string ABAPARTIE { get { if (dwMaster == null) return ""; return dwMaster["ABAPARTIE"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPARTIE"] = value; OnPropertyChanged("ABAPARTIE", value); } } //lENGth 7
                public string ABAPARTIEKZ { get { if (dwMaster == null) return ""; return dwMaster["ABAPARTIEKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPARTIEKZ"] = value; OnPropertyChanged("ABAPARTIEKZ", value); } } //lENGth 1
                public string ABAKDPARTIE { get { if (dwMaster == null) return ""; return dwMaster["ABAKDPARTIE"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAKDPARTIE"] = value; OnPropertyChanged("ABAKDPARTIE", value); } } //lENGth 10
                public string ABAKDAUFTNR { get { if (dwMaster == null) return ""; return dwMaster["ABAKDAUFTNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAKDAUFTNR"] = value; OnPropertyChanged("ABAKDAUFTNR", value); } } //lENGth 20
                public double ABAKDAUFDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAKDAUFDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAKDAUFDAT"] = value; OnPropertyChanged("ABAKDAUFDAT", value); } } //lENGth 0
                public string ABAMAART { get { if (dwMaster == null) return ""; return dwMaster["ABAMAART"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAMAART"] = value; OnPropertyChanged("ABAMAART", value); } } //lENGth 1
                public double ABASTKLFDNR { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASTKLFDNR"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASTKLFDNR"] = value; OnPropertyChanged("ABASTKLFDNR", value); } } //lENGth 0
                public string ABAAUFMSL { get { if (dwMaster == null) return ""; return dwMaster["ABAAUFMSL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAAUFMSL"] = value; OnPropertyChanged("ABAAUFMSL", value); } } //lENGth 2
                public string ABAZUSAM { get { if (dwMaster == null) return ""; return dwMaster["ABAZUSAM"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAZUSAM"] = value; OnPropertyChanged("ABAZUSAM", value); } } //lENGth 2
                public string ABAPACKTYP { get { if (dwMaster == null) return ""; return dwMaster["ABAPACKTYP"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPACKTYP"] = value; OnPropertyChanged("ABAPACKTYP", value); } } //lENGth 4
                public string ABATAX { get { if (dwMaster == null) return ""; return dwMaster["ABATAX"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABATAX"] = value; OnPropertyChanged("ABATAX", value); } } //lENGth 3
                public string ABAHUELSE { get { if (dwMaster == null) return ""; return dwMaster["ABAHUELSE"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAHUELSE"] = value; OnPropertyChanged("ABAHUELSE", value); } } //lENGth 6
                public string ABAWOBST { get { if (dwMaster == null) return ""; return dwMaster["ABAWOBST"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAWOBST"] = value; OnPropertyChanged("ABAWOBST", value); } } //lENGth 1
                public string ABAWICKL { get { if (dwMaster == null) return ""; return dwMaster["ABAWICKL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAWICKL"] = value; OnPropertyChanged("ABAWICKL", value); } } //lENGth 1
                public string ABAFDRES { get { if (dwMaster == null) return ""; return dwMaster["ABAFDRES"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAFDRES"] = value; OnPropertyChanged("ABAFDRES", value); } } //lENGth 1
                public string ABAKF { get { if (dwMaster == null) return ""; return dwMaster["ABAKF"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAKF"] = value; OnPropertyChanged("ABAKF", value); } } //lENGth 1
                public string ABANRVERG { get { if (dwMaster == null) return ""; return dwMaster["ABANRVERG"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABANRVERG"] = value; OnPropertyChanged("ABANRVERG", value); } } //lENGth 1
                public string ABASTKNRKRS { get { if (dwMaster == null) return ""; return dwMaster["ABASTKNRKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABASTKNRKRS"] = value; OnPropertyChanged("ABASTKNRKRS", value); } } //lENGth 2
                public string ABASUFFART { get { if (dwMaster == null) return ""; return dwMaster["ABASUFFART"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABASUFFART"] = value; OnPropertyChanged("ABASUFFART", value); } } //lENGth 1
                public string ABATRENNZ { get { if (dwMaster == null) return ""; return dwMaster["ABATRENNZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABATRENNZ"] = value; OnPropertyChanged("ABATRENNZ", value); } } //lENGth 1
                public double ABALAENGEU { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABALAENGEU"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABALAENGEU"] = value; OnPropertyChanged("ABALAENGEU", value); } } //lENGth 0
                public double ABALAENGES { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABALAENGES"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABALAENGES"] = value; OnPropertyChanged("ABALAENGES", value); } } //lENGth 0
                public double ABASCHRITW { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASCHRITW"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASCHRITW"] = value; OnPropertyChanged("ABASCHRITW", value); } } //lENGth 0
                public string ABAFUELLZ { get { if (dwMaster == null) return ""; return dwMaster["ABAFUELLZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAFUELLZ"] = value; OnPropertyChanged("ABAFUELLZ", value); } } //lENGth 1
                public string ABAASSCHNIT { get { if (dwMaster == null) return ""; return dwMaster["ABAASSCHNIT"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAASSCHNIT"] = value; OnPropertyChanged("ABAASSCHNIT", value); } } //lENGth 1
                public string ABAETITYP { get { if (dwMaster == null) return ""; return dwMaster["ABAETITYP"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAETITYP"] = value; OnPropertyChanged("ABAETITYP", value); } } //lENGth 2
                public double ABAANZRET { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAANZRET"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAANZRET"] = value; OnPropertyChanged("ABAANZRET", value); } } //lENGth 0
                public string ABAKDETKZ { get { if (dwMaster == null) return ""; return dwMaster["ABAKDETKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAKDETKZ"] = value; OnPropertyChanged("ABAKDETKZ", value); } } //lENGth 1
                public string ABADOPPEL { get { if (dwMaster == null) return ""; return dwMaster["ABADOPPEL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABADOPPEL"] = value; OnPropertyChanged("ABADOPPEL", value); } } //lENGth 10
                public string ABALOAN { get { if (dwMaster == null) return ""; return dwMaster["ABALOAN"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABALOAN"] = value; OnPropertyChanged("ABALOAN", value); } } //lENGth 2
                public string ABALBAN { get { if (dwMaster == null) return ""; return dwMaster["ABALBAN"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABALBAN"] = value; OnPropertyChanged("ABALBAN", value); } } //lENGth 2
                public string ABALPAN { get { if (dwMaster == null) return ""; return dwMaster["ABALPAN"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABALPAN"] = value; OnPropertyChanged("ABALPAN", value); } } //lENGth 8
                public string ABAAUFBKZAN { get { if (dwMaster == null) return ""; return dwMaster["ABAAUFBKZAN"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAAUFBKZAN"] = value; OnPropertyChanged("ABAAUFBKZAN", value); } } //lENGth 1
                public string ABALOA2 { get { if (dwMaster == null) return ""; return dwMaster["ABALOA2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABALOA2"] = value; OnPropertyChanged("ABALOA2", value); } } //lENGth 2
                public string ABALBA2 { get { if (dwMaster == null) return ""; return dwMaster["ABALBA2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABALBA2"] = value; OnPropertyChanged("ABALBA2", value); } } //lENGth 2
                public string ABALPA2 { get { if (dwMaster == null) return ""; return dwMaster["ABALPA2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABALPA2"] = value; OnPropertyChanged("ABALPA2", value); } } //lENGth 8
                public string ABAABKZA2 { get { if (dwMaster == null) return ""; return dwMaster["ABAABKZA2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAABKZA2"] = value; OnPropertyChanged("ABAABKZA2", value); } } //lENGth 1
                public string ABAPKL { get { if (dwMaster == null) return ""; return dwMaster["ABAPKL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPKL"] = value; OnPropertyChanged("ABAPKL", value); } } //lENGth 2
                public string ABABEM1 { get { if (dwMaster == null) return ""; return dwMaster["ABABEM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABABEM1"] = value; OnPropertyChanged("ABABEM1", value); } } //lENGth 60
                public string ABABEM2 { get { if (dwMaster == null) return ""; return dwMaster["ABABEM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABABEM2"] = value; OnPropertyChanged("ABABEM2", value); } } //lENGth 60
                public string ABAMRKM1 { get { if (dwMaster == null) return ""; return dwMaster["ABAMRKM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAMRKM1"] = value; OnPropertyChanged("ABAMRKM1", value); } } //lENGth 4
                public string ABAMRKM2 { get { if (dwMaster == null) return ""; return dwMaster["ABAMRKM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAMRKM2"] = value; OnPropertyChanged("ABAMRKM2", value); } } //lENGth 4
                public string ABAMRKM3 { get { if (dwMaster == null) return ""; return dwMaster["ABAMRKM3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAMRKM3"] = value; OnPropertyChanged("ABAMRKM3", value); } } //lENGth 4
                public string ABAKZNTO { get { if (dwMaster == null) return ""; return dwMaster["ABAKZNTO"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAKZNTO"] = value; OnPropertyChanged("ABAKZNTO", value); } } //lENGth 1
                public string ABAFESP { get { if (dwMaster == null) return ""; return dwMaster["ABAFESP"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAFESP"] = value; OnPropertyChanged("ABAFESP", value); } } //lENGth 1
                public string ABADIAUFKRS { get { if (dwMaster == null) return ""; return dwMaster["ABADIAUFKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABADIAUFKRS"] = value; OnPropertyChanged("ABADIAUFKRS", value); } } //lENGth 2
                public string ABADIAUFLFD { get { if (dwMaster == null) return ""; return dwMaster["ABADIAUFLFD"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABADIAUFLFD"] = value; OnPropertyChanged("ABADIAUFLFD", value); } } //lENGth 6
                public string ABADIAUFPOS { get { if (dwMaster == null) return ""; return dwMaster["ABADIAUFPOS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABADIAUFPOS"] = value; OnPropertyChanged("ABADIAUFPOS", value); } } //lENGth 3
                public double ABADILG { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABADILG"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABADILG"] = value; OnPropertyChanged("ABADILG", value); } } //lENGth 0
                public double ABADIGEW { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABADIGEW"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABADIGEW"] = value; OnPropertyChanged("ABADIGEW", value); } } //lENGth 0
                public double ABADISTK { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABADISTK"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABADISTK"] = value; OnPropertyChanged("ABADISTK", value); } } //lENGth 0
                public double ABADISLG { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABADISLG"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABADISLG"] = value; OnPropertyChanged("ABADISLG", value); } } //lENGth 0
                public double ABADISGEW { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABADISGEW"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABADISGEW"] = value; OnPropertyChanged("ABADISGEW", value); } } //lENGth 0
                public string ABABA { get { if (dwMaster == null) return ""; return dwMaster["ABABA"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABABA"] = value; OnPropertyChanged("ABABA", value); } } //lENGth 6
                public double ABAASGESLG { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAASGESLG"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAASGESLG"] = value; OnPropertyChanged("ABAASGESLG", value); } } //lENGth 0
                public double ABAASGESGEW { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAASGESGEW"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAASGESGEW"] = value; OnPropertyChanged("ABAASGESGEW", value); } } //lENGth 0
                public string ABAPNRKRS { get { if (dwMaster == null) return ""; return dwMaster["ABAPNRKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPNRKRS"] = value; OnPropertyChanged("ABAPNRKRS", value); } } //lENGth 2
                public string ABAPLFDNR { get { if (dwMaster == null) return ""; return dwMaster["ABAPLFDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPLFDNR"] = value; OnPropertyChanged("ABAPLFDNR", value); } } //lENGth 6
                public string ABAGKREGEL { get { if (dwMaster == null) return ""; return dwMaster["ABAGKREGEL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAGKREGEL"] = value; OnPropertyChanged("ABAGKREGEL", value); } } //lENGth 8
                public string ABAPROVOR { get { if (dwMaster == null) return ""; return dwMaster["ABAPROVOR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAPROVOR"] = value; OnPropertyChanged("ABAPROVOR", value); } } //lENGth 8
                public double ABAPRSFE { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAPRSFE"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAPRSFE"] = value; OnPropertyChanged("ABAPRSFE", value); } } //lENGth 0
                public string ABAWSCHTXT { get { if (dwMaster == null) return ""; return dwMaster["ABAWSCHTXT"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAWSCHTXT"] = value; OnPropertyChanged("ABAWSCHTXT", value); } } //lENGth 3
                public string ABAVORSGEL { get { if (dwMaster == null) return ""; return dwMaster["ABAVORSGEL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVORSGEL"] = value; OnPropertyChanged("ABAVORSGEL", value); } } //lENGth 1
                public double ABASELVL { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASELVL"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASELVL"] = value; OnPropertyChanged("ABASELVL", value); } } //lENGth 0
                public double ABASELVR { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABASELVR"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABASELVR"] = value; OnPropertyChanged("ABASELVR", value); } } //lENGth 0
                public string ABAKOLL { get { if (dwMaster == null) return ""; return dwMaster["ABAKOLL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAKOLL"] = value; OnPropertyChanged("ABAKOLL", value); } } //lENGth 5
                public string ABAVKART { get { if (dwMaster == null) return ""; return dwMaster["ABAVKART"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVKART"] = value; OnPropertyChanged("ABAVKART", value); } } //lENGth 24
                public string ABAVKFARBE { get { if (dwMaster == null) return ""; return dwMaster["ABAVKFARBE"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAVKFARBE"] = value; OnPropertyChanged("ABAVKFARBE", value); } } //lENGth 10
                public string ABAGBEDKZ { get { if (dwMaster == null) return ""; return dwMaster["ABAGBEDKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAGBEDKZ"] = value; OnPropertyChanged("ABAGBEDKZ", value); } } //lENGth 1
                public string ABADL { get { if (dwMaster == null) return ""; return dwMaster["ABADL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABADL"] = value; OnPropertyChanged("ABADL", value); } } //lENGth 1
                public string ABAKDPARTKZ { get { if (dwMaster == null) return ""; return dwMaster["ABAKDPARTKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAKDPARTKZ"] = value; OnPropertyChanged("ABAKDPARTKZ", value); } } //lENGth 1
                public string ABAFILLER { get { if (dwMaster == null) return ""; return dwMaster["ABAFILLER"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAFILLER"] = value; OnPropertyChanged("ABAFILLER", value); } } //lENGth 84
                public double ABAAENDZL { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAAENDZL"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAAENDZL"] = value; OnPropertyChanged("ABAAENDZL", value); } } //lENGth 0
                public string ABAAENDBEN { get { if (dwMaster == null) return ""; return dwMaster["ABAAENDBEN"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABAAENDBEN"] = value; OnPropertyChanged("ABAAENDBEN", value); } } //lENGth 8
                public double ABAAENDDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABAAENDDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABAAENDDAT"] = value; OnPropertyChanged("ABAAENDDAT", value); } } //lENGth 0
                public string ABANEUBEN { get { if (dwMaster == null) return ""; return dwMaster["ABANEUBEN"].ToString(); } set { if (dwMaster == null) return; dwMaster["ABANEUBEN"] = value; OnPropertyChanged("ABANEUBEN", value); } } //lENGth 8
                public double ABANEUDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ABANEUDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ABANEUDAT"] = value; OnPropertyChanged("ABANEUDAT", value); } } //lENGth 0
       */
        #endregion
    }
}
